package com.bringway.webservice.http.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.bringway.webservice.http.dao.MeetingBookingDao;
import com.bringway.webservice.http.dao.MeetingBookingZhfwDao;
import com.bringway.webservice.http.service.MeetingBookingService;

import net.sf.json.JSONObject;

/*
* @author 作者 xuef
* @version 创建时间：2015年9月16日 下午1:48:23
* 类说明
*/
@Service
@Transactional
public class MeetingBookingServiceImpl implements MeetingBookingService {

	@Autowired
	private MeetingBookingDao meetingBookingDao;
	
	@Autowired
	private MeetingBookingZhfwDao meetingBookingZhfwDao;
	
	
	@Override
	public List<Map<String, Object>> queryCompanyList(JSONObject params) {
		return meetingBookingZhfwDao.queryCompanyList(params);
	}


	@Override
	public List<Map<String, Object>> queryMeetingBookingList(JSONObject params) {
		return meetingBookingDao.queryMeetingBookingList(params);
	}


	@Override
	public int getMeetingBookingCount(JSONObject params) {
		return meetingBookingDao.getMeetingBookingCount(params);
	}


	@Override
	public boolean saveMeetingBooking(JSONObject params) {
		return meetingBookingDao.saveMeetingBooking(params);
	}

}
